[INFO] cloning repository https://github.com/kitagry/clipimg
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kitagry/clipimg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitagry%2Fclipimg", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitagry%2Fclipimg'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d3a2644b8fb743aaf4d4bb73b7ac5461799a55df
[INFO] building kitagry/clipimg against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkitagry%2Fclipimg" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kitagry/clipimg on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kitagry/clipimg
[INFO] finished tweaking git repo https://github.com/kitagry/clipimg
[INFO] tweaked toml for git repo https://github.com/kitagry/clipimg written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/kitagry/clipimg already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded viuer v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6b2de8a8ab1badeb46d19b4b36771435121d84fbb7823efdf61259a747f6510
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c6b2de8a8ab1badeb46d19b4b36771435121d84fbb7823efdf61259a747f6510", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6b2de8a8ab1badeb46d19b4b36771435121d84fbb7823efdf61259a747f6510", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6b2de8a8ab1badeb46d19b4b36771435121d84fbb7823efdf61259a747f6510", kill_on_drop: false }`
[INFO] [stdout] c6b2de8a8ab1badeb46d19b4b36771435121d84fbb7823efdf61259a747f6510
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bf66e8c9fb0f0c503ae34a26ef140db876ef9ac32def26adb4a60104f3ee4c8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4bf66e8c9fb0f0c503ae34a26ef140db876ef9ac32def26adb4a60104f3ee4c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling weezl v0.1.4
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling bytemuck v1.5.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling terminal_size v0.1.16
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling console v0.13.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling rand_core v0.6.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling mio v0.7.7
[INFO] [stderr]    Compiling gif v0.11.1
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling signal-hook v0.1.17
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling crossterm v0.18.2
[INFO] [stderr]    Compiling ansi_colours v1.0.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.1
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.12
[INFO] [stderr]    Compiling viuer v0.3.1
[INFO] [stderr]    Compiling clipimg v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0423]: expected function, found macro `write`
[INFO] [stdout]    --> src/lib.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         write(file_path.as_ref())
[INFO] [stdout]     |         ^^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 107 |         write!(file_path.as_ref())
[INFO] [stdout]     |              ^
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::ptr::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::fmt::write;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::fs::write;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]    --> src/lib.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         read()
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::fs::read;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::ptr::read;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context`, `anyhow`
[INFO] [stdout]  --> src/lib.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::io::Reader as ImageReader`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::io::Reader as ImageReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::str;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `clipimg`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4bf66e8c9fb0f0c503ae34a26ef140db876ef9ac32def26adb4a60104f3ee4c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bf66e8c9fb0f0c503ae34a26ef140db876ef9ac32def26adb4a60104f3ee4c8", kill_on_drop: false }`
[INFO] [stdout] 4bf66e8c9fb0f0c503ae34a26ef140db876ef9ac32def26adb4a60104f3ee4c8
